package com.shylock.as.service.intf;

import com.shylock.common.bo.UserBo;
import com.shylock.common.bo.UserCodeBo;
import com.shylock.common.vo.R;


public interface UserService {
    //注册接口
    R register(UserBo bo ,String ip);
    //校验手机号
    R checkPhone(String phone);
    //手机号密码登录
    R loginPassword(UserBo bo,String ip);
    
    //手机号验证码登录
    R loginCode(UserCodeBo bo, String ip);
    //密码找回-验证验证码
    R findPassword(UserCodeBo bo,String ip);
    //密码找回-修改密码
    R updatePassword(UserBo bo,String ip);
    //验证令牌
    R checkToken(String token);
    //注销，退出登录
    R loginOut(String token);
    //通过令牌获取用户信息
    R queryUserInfo(String token);
}
